From f33d720cb67c3b7c35f57475bc7370af3b223b77 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Wed, 8 Jan 2025 22:31:54 +0900 Subject: fix waybar-wallust colors not applying battery not charging waybar animation changes to reduce cpu usage as per wiki --- config/waybar/style/[Retro] Simple Style.css | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'config/waybar/style/[Retro] Simple Style.css') diff --git a/config/waybar/style/[Retro] Simple Style.css b/config/waybar/style/[Retro] Simple Style.css index 27e9db98..ba23e25b 100644 --- a/config/waybar/style/[Retro] Simple Style.css +++ b/config/waybar/style/[Retro] Simple Style.css @@ -109,6 +109,23 @@ window#waybar { border-bottom: 3px solid yellow; } +@keyframes blink { + to { + color: @background; + } +} + +#battery.critical:not(.charging) { + background-color: @red; + color: white; + animation-name: blink; + animation-duration: 3.0s; + animation-timing-function: steps(12); + animation-iteration-count: infinite; + animation-direction: alternate; + box-shadow: inset 0 -3px transparent; +} + /*-----Indicators----*/ #custom-hypridle.notactive, #idle_inhibitor.activated { -- cgit v1.2.3